This repository was archived by the owner on Mar 7, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 26
Update eslint (major) #286
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-eslint
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a3abe47 to
560d337
Compare
560d337 to
63b4393
Compare
b57b8e0 to
3b16fea
Compare
3b16fea to
248ecce
Compare
248ecce to
cc45d5f
Compare
cc45d5f to
4ba985e
Compare
4ba985e to
259c826
Compare
ba21163 to
2359b42
Compare
a763253 to
f4e1655
Compare
f4e1655 to
7181f2f
Compare
18bc84d to
3a12358
Compare
d576e15 to
1d05462
Compare
d3c1753 to
5152d9e
Compare
a4f03d0 to
c026980
Compare
cb0fe7b to
d56ed61
Compare
d56ed61 to
6236700
Compare
82abc48 to
77c15c0
Compare
e67e234 to
a07221a
Compare
1819f60 to
38060c7
Compare
253ac08 to
4fc0afa
Compare
4fc0afa to
7cf990a
Compare
7cf990a to
04b63d4
Compare
6345175 to
39331af
Compare
d83cfe2 to
68512ea
Compare
745ab45 to
bf14e17
Compare
d6e24de to
ebe09dd
Compare
7c5ffa0 to
c9dfe99
Compare
1e6b73c to
564347d
Compare
c150f2e to
a372be5
Compare
a372be5 to
dc5def3
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~7.5.0->~8.26.0~7.5.0->~8.26.0~8.57.0->~9.22.0~9.1.0->~10.1.1Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v8.26.0Compare Source
🚀 Features
🩹 Fixes
accessorproperties with an invalidvoidtype (#10864)❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.25.0Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.24.1Compare Source
🩹 Fixes
accessormethods with a function initializer (#10796)staticaccessorproperties (#10814)accessorproperty declaration (#10813)accessorclass properties for missing accessibility modifier (#10805)accessorclass properties with a function initializer (#10804)accessorproperties with a function initializer (#10794)accessorclass properties (#10789)anyvalue assigned as an initializer of anaccessorproperty (#10785)❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.24.0Compare Source
🚀 Features
allowConstantLoopConditionsmore granular (#10639)🩹 Fixes
allowNumberAndStringisfalse(#10737)❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.23.0Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.22.0Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.21.0Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.20.0Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.19.1Compare Source
🩹 Fixes
declarekeyword (#10543)❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.19.0Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.18.2Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.18.1Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.18.0Compare Source
🚀 Features
🩹 Fixes
toString()declarations are present for a type (#10432)❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.17.0Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.16.0Compare Source
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.15.0Compare Source
🚀 Features
ignoreConditionalTestsinvolving boolean!operator (#10299)no-unsafe-type-assertion(#10051)🩹 Fixes
as const satisfies(#10315)❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.14.0Compare Source
🚀 Features
await usingstatements (#10209)🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.13.0Compare Source
🚀 Features
ignoreBooleanCoercion(#9924)no-class-assignrule ineslint-recommendedconfig (#10250)🩹 Fixes
undefined(#10232)❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.12.2Compare Source
🩹 Fixes
considerDefaultExhaustiveForUnions(#10223)❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.12.1Compare Source
This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.12.0Compare Source
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.11.0Compare Source
🚀 Features
🩹 Fixes
overridekeyword (#10135)❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.10.0Compare Source
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.9.0Compare Source
🩹 Fixes
eslint-plugin: [no-unnecessary-type-parameters] cannot assume variables are either type or value
scope-manager: [no-use-before-define] do not treat nested namespace aliases as variable references
eslint-plugin: [return-await] sync the behavior with await-thenable
eslint-plugin: [prefer-literal-enum-member] report a different error message when
allowBitwiseExpressionsis enabledeslint-plugin: [no-loop-func] sync from upstream base rule
eslint-plugin: [no-unused-vars] never report the naming of an enum member
eslint-plugin: correct use-at-your-own-risk type definitions
eslint-plugin: handle unions in await...for
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.8.1Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.8.0Compare Source
🚀 Features
eslint-plugin: [no-unnecessary-condition] add checkTypePredicates
eslint-plugin: [return-await] check for-await loop iteree
🩹 Fixes
remove
export type *in d.ts to support TS<5.0eslint-plugin: [no-unnecessary-template-expression] should underline template syntax with squiggly lines
type-utils: check for type parameters on
isBuiltinSymbolLikeRecurser()eslint-plugin: [no-deprecated] max callstack exceeded when class implements itself
eslint-plugin: [no-misused-promises] check contextual type
eslint-plugin: [prefer-literal-enum-member] allow nested bitwise operations
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.7.0Compare Source
🚀 Features
eslint-plugin: [no-unsafe-call] check calls of Function
eslint-plugin: [consistent-type-exports] check
export *exports to see if all exported members are types🩹 Fixes
eslint-plugin: properly coerce all types to string in
getStaticMemberAccessValueeslint-plugin: [no-deprecated] report on imported deprecated variables
eslint-plugin: [no-confusing-non-null-assertion] check !in and !instanceof
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.6.0Compare Source
🚀 Features
add
allowoption forrestrict-template-expressionstype-utils: isNullableType add Void logic
eslint-plugin: [no-unnecessary-condition] check switch cases
eslint-plugin: [no-misused-promises] check array predicate return
🩹 Fixes
eslint-plugin: [no-deprecated] don't report recursive types in destructuring assignment twice
eslint-plugin: [no-deprecated] report on deprecated variables used in destructuring assignment
eslint-plugin: [no-deprecated] report on deprecated properties with function-like types
eslint-plugin: [no-unnecessary-condition] properly reflect multiple negations in message
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.5.0Compare Source
🚀 Features
eslint-plugin: [no-duplicate-type-constituents] prevent unnecessary `
eslint-plugin: [no-unsafe-argument] differentiate error types
🩹 Fixes
eslint-plugin: [no-unnecessary-type-assertion] fix TSNonNullExpression fixer
eslint-plugin: [no-misused-promises] handle static method
eslint-plugin: [no-unnecessary-type-parameters] fix AST quick path scope analysis
eslint-plugin: [consistent-type-assertions] access parser services lazily
❤️ Thank You
f44da95You can read about our versioning strategy and releases on our website.
v8.4.0Compare Source
This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.3.0Compare Source
🚀 Features
🩹 Fixes
eslint-plugin: [no-unnecessary-template-expression] add missing parentheses in autofix
eslint-plugin: [no-unnecessary-type-parameters] check mapped alias type arguments
utils: add
TSDeclareFunctiontofunctionTypeTypesast-spec: use
Expressionin argument ofThrowStatement❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.2.0Compare Source
🚀 Features
require-awaitto removeasynckeyword🩹 Fixes
eslint-plugin: [use-unknown-in-catch-callback-variable] flag second argument of
.theneslint-plugin: [no-unnecessary-type-assertion] conflict with TS for variables used before assignment
eslint-plugin: delete [] in message if ReadOnly<string[]> is detected
eslint-plugin: [no-redundant-type-constituents] differentiate a types-error any from a true any
eslint-plugin: [no-unnecessary-type-parameters] check mapped constraint types if necessary
eslint-plugin: [no-unsafe-enum-comparison] add logic to see through intersections
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.1.0Compare Source
🚀 Features
eslint-plugin: [no-floating-promises] enable "add await" suggestion if ignoreVoid is true
typescript-estree: restrict variable declarator definite/init combinations
eslint-plugin: [no-unsafe-return] check promise any
eslint-plugin: [no-misused-promises] check subtype methods against heritage type methods
🩹 Fixes
eslint-plugin: [no-unsafe-enum-comparison] typo in test
eslint-plugin: [no-unnecessary-type-parameters] skip checking function bodies for AST references
eslint-plugin: [member-ordering] get accessor member name & take into account
abstractand decoratoreslint-plugin: [prefer-optional-chain] wrong parenthesis fix output
eslint-plugin: [no-unnecessary-type-parameters] clarify message
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.0.1Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.0.0Compare Source
🚀 Features
stricter parent types for the AST
typescript-estree: split TSMappedType typeParameter into constraint and key
eslint-plugin: remove formatting/layout rules
eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true
eslint-plugin: deprecate no-loss-of-precision extension rule
eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9
typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference
utils: allow specifying additional rule meta.docs in RuleCreator
eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces
rule-tester: support multipass fixes
typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService
eslint-plugin: remove deprecated no-throw-literal rule
eslint-plugin: apply initial config changes for v8
eslint-plugin: remove no-useless-template-literals
eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option
eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types
eslint-plugin: [no-unused-vars] add
reportUnusedIgnorePatternoptioneslint-plugin: [no-unused-vars] support
ignoreClassWithStaticInitBlockeslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in
eslint-plugin: [no-unused-vars] report if var used only in typeof
eslint-plugin: [no-floating-promises] disable checkThenables by default for v8
rule-tester: switched to flat config
eslint-plugin: [no-unnecessary-type-parameters] promote to strict
🩹 Fixes
correct eslint-plugin's peerDependency on parser@8
disable
projectServiceindisabled-type-checkedshared configtypescript-estree: add TSEnumBody node for TSEnumDeclaration body
eslint-plugin: include alpha pre-releases in parser peer dependency
eslint-plugin: correct rules.d.ts types to not rely on non-existent imports
eslint-plugin: remove duplicate import
RuleModuleWithMetaDocstype-utils: also check declared modules for package names in TypeOrValueSpecifier
eslint-plugin: [no-unnecessary-template-expression] do not render escaped strings in autofixes
eslint-plugin: [no-unused-vars] incorporate upstream changes around caught errors report messages
eslint-plugin: [no-misused-promises] perf: avoid getting types of variables/functions if the annotated type is obviously not a function
rule-tester: provide Linter a cwd in its constructor
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.18.0 (2024-07-29)
🩹 Fixes
eslint-plugin: [no-unnecessary-type-assertion] prevent runtime error when asserting a variable declared in default TS lib
eslint-plugin: [unbound-method] report on destructuring in function parameters
eslint-plugin: [no-duplicate-type-constituents] shouldn't report on error types
eslint-plugin: [strict-boolean-expressions] support branded booleans
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.17.0 (2024-07-22)
🚀 Features
eslint-plugin: backport no-unsafe-function type, no-wrapper-object-types from v8 to v7
eslint-plugin: [return-await] add option to report in error-handling scenarios only, and deprecate "never"
🩹 Fixes
eslint-plugin: [no-floating-promises] check top-level type assertions (and more)
eslint-plugin: [strict-boolean-expressions] consider assertion function argument a boolean context
eslint-plugin: [no-unnecessary-condition] false positive on optional private field
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.16.1 (2024-07-15)
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.16.0 (2024-07-08)
🚀 Features
rule-tester: stricter rule test validations
eslint-plugin: [no-unnecessary-parameter-property-assignment] add new rule
eslint-plugin: add support for nested namespaces to unsafe-member-access
eslint-plugin: [no-floating-promises] add checkThenables option
🩹 Fixes
deps: update dependency @eslint-community/regexpp to v4.11.0
eslint-plugin: [no-floating-promises] add
suggestionsto tests from #9263checkThenableswebsite: react key error on internal pages of website
eslint-plugin: [restrict-template-expressions] don't report tuples if
allowArrayoption is enabled❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.15.0 (2024-07-01)
🚀 Features
eslint-plugin: [array-type] detect
Readonly<string[]>caseeslint-plugin: back-po
Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.